package epimarket.beans;

import java.io.Serializable;

@SuppressWarnings("serial")
public class Livraison implements Serializable {
	private int id;
	private int id_prix;
	private float prix_limite;
	private String pays;
	
	public Livraison()
	{
		this.id = -1;
		this.id_prix = -1;
		this.prix_limite = 0.0f;
		this.pays = "";
	}
	
	public String toString() {
		String str = "";
		str += "Id_livraison = " + this.id + "<br />";
		str += "id_prix = " + this.id_prix + "<br />";
		str += "prix limite = " + this.prix_limite + "<br />";
		str += "pays = " + this.pays + "<br />";
		return str;
	}

	/*
	 * Getter et Setter
	 */
	
	public int getId() {
		return id;
	}

	public void setId(int idd) {
		this.id = idd;
	}
	
	public int getId_prix() {
		return id_prix;
	}

	public void setId_prix(int id_prix) {
		this.id_prix = id_prix;
	}

	public float getPrix_limite() {
		return prix_limite;
	}

	public void setPrix_limite(float prix_limite) {
		this.prix_limite = prix_limite;
	}

	public String getPays() {
		return pays;
	}

	public void setPays(String pays) {
		this.pays = pays;
	}
}
